package perucuy.services;

import org.apache.log4j.Logger;
import java.util.List;
import perucuy.dao.DetalleDAO;
import java.io.IOException;

public class DetalleService {
    private static Logger log = Logger.getLogger(DetalleService.class);

    public List getListaSexo() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaSexo();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
        }
        return all;
    }

    public List getListaIdioma() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaIdioma();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaReligion() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaReligion();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaTipoFamilia() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaTipoFamilia();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaCaracteristicaAlbergado() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaCaracteristicaAlbergado();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMaterialPiso() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMaterialPiso();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMaterialPared() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMaterialPared();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMaterialTecho() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMaterialTecho();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMotivoIngreso() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMotivoIngreso();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMotivoIngresoDesa() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMotivoIngresoDesa();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaDiscapacidadMental() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaDiscapacidadMental();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaDiscapacidadHabla() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaDiscapacidadHabla();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaDiscapacidadVisual() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaDiscapacidadVisual();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaAseoPersonal() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaAseoPersonal();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaVestimenta() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaVestimenta();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaCooperativo() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaCooperativo();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaSincero() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaSincero();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaComprension() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaComprension();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaComunicacion() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaComunicacion();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMaduracion() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMaduracion();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaPersepcion() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaPersepcion();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaRelacionAdulto() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaRelacionAdulto();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaRelacionCompanero() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaRelacionCompanero();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaViolacion() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaViolacion();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaTranstorno() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaTranstorno();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaEnfermedadTransSexual() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaEnfermedadTransSexual();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaInteresEscuela() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaInteresEscuela();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaCurso() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaCurso();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaSN() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaSN();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaClasifica() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaClasifica();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaPersonalHogar(String hogar) {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaPersonal(hogar);
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaFase() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaFase();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaEstadoFase() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaEstadoFase();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaTenenciaVivienda() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaTenenciaVivienda();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMaltrato() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMaltrato();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaGolpe() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaGolpe();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaGrado() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaGrado();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaNivelModalidad() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaNivelModalidad();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaFormaEnsenanza() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaFormaEnsenanza();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaResultadoEstudio() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaResultadoEstudio();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaComportamiento() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaComportamiento();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMotivoMovEgreso() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMotivoMovimientoEgreso();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMotivoMovIngreso() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMotivoMovimientoIngreso();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaMotivoMovTraslado() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaMotivoMovimientoTraslado();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaHogar() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaHogar();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaDocumentoIdentidad() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaDocIdentidad();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaJuzgado() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaJuzgado();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaAspectoFisico() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaAspectoFisico();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaAspectoEmocional() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaAspectoEmocional();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }

    public List getListaPerfilConductual() {
        List all = null;
        try {
            DetalleDAO dao = new DetalleDAO();
            all = dao.listaPerfilConductual();
        } catch (IOException e) {
            log.debug("Error: " + e.getMessage());
            e.printStackTrace();
        }
        return all;
    }
}
